#ifndef THREAD_H_INCLUDED
#define THREAD_H_INCLUDED

struct SDL_Thread;

class Thread
{
public:
	Thread();
	virtual ~Thread()  {}
	void Start();
	virtual void Work()=0;
	void EndThread();
	bool IsThreadFinished();

protected:
	SDL_Thread* m_pThread;
	bool m_threadFinished;

};


#endif
